<template>
  <div>Home</div>
  <p>{{ count }}</p>
  <button @click="handleClick">按钮</button>
</template>

<script lang="ts" setup>
defineOptions({
  name: "Home",
});

const count = ref(0);
const handleClick = () => {
  count.value++;
};

const route = useRoute();
console.log(route.query);

definePageMeta({
  title: "home页",
});

console.log(route.meta);

useHead({
  title: "home 页",
  meta: [{ name: "description", content: "我的 home 网站。" }],
});
</script>

<style scoped lang="scss"></style>
